package models

import "log"

type Score struct {
	Num int
}

func (score *Score) DoGet() error {
	/*var index = 0
	for {
		time.Sleep(1 * time.Second)
		index++
		result := make([]string, 100000)

		for i := 0; i < 100000; i++ {
			result = append(result, "ddddddddddddddddddd/Users/mac/mycode/src/facetointerface/models/sroce_test.go:9 +0x2b/Users/mac/mycode/src/facetointerface/models/sroce_test.go:9 +0x2b/Users/mac/mycode/src/facetointerface/models/sroce_test.go:9 +0x2b/Users/mac/mycode/src/facetointerface/models/sroce_test.go:9 +0x2b")
		}

		log.Println(len(result))

		if index > 10 {
			return nil
		}
	}*/
	log.Println("score num:", score.Num)
	return nil
}

func (score *Score) GoPost() error {
	return nil
}
